<ul class="sf-menu sf-js-enabled">
	<li class="active"><a href="<?php echo Yii::app()->createUrl("home/index"); ?>"><?php echo Lang::getResource("menu.home"); ?></a></li>
	<li><a href="<?php echo Yii::app()->createUrl("site/about"); ?>"><?php echo Lang::getResource("menu.intro"); ?></a></li>	
	<li><a href="<?php echo Yii::app()->createUrl("items/display/posts"); ?>"><?php echo Lang::getResource("menu.news"); ?></a></li>
	<li><a href="<?php echo Yii::app()->createUrl("items/display"); ?>"><?php echo Lang::getResource("menu.product"); ?></a>
		<?php 
					$cates = Product::stGetCateOptions();
					if (count($cates) > 0) {
				?>
				<ul>
					<?php 
						foreach ($cates as $key => $value){
							echo "<li>";
							echo "<a href='".Yii::app()->createUrl("items/display/cate",array('id'=>$key))."' >";
							echo "$value";
							echo "</a>";
							echo "</li>";
						}
					?>
				</ul>
				<?php 
		}?>
	<li><a href="<?php echo Yii::app()->createUrl("kt"); ?>"><?php echo Lang::getResource("menu.service"); ?></a></li>
	<li><a href="<?php echo Yii::app()->createUrl("site/contact"); ?>"><?php echo Lang::getResource("menu.contact"); ?></a></li>
</ul>


